package common.dtos;

//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: 郑国荣
 * @Date: 2024-03-05-23:34
 * @Description:
 */
//@ApiModel(value = "登录表单")
@Data
public class LoginDto {
//    @ApiModelProperty("账号登录（手机号）")
    @NotBlank(message = "账号为空")
    private String account;

//    @ApiModelProperty("密码")
    @NotBlank(message = "密码为空")
    private String password;

    @NotNull(message = "验证码为空")
    private String captcha;

    private String updateIp;
}
